<cp-navbar (onClickLeft)="onClickLeft()"></cp-navbar>
<div class="loading" *ngIf="loading">
    <cp-loading></cp-loading>
</div>

<div class="container" *ngIf="!loading">
    <div class="gutter"></div>
    <div class="list" *ngIf="news.length!=0">
        <div [queryParams]="{project: id,index: i}" routerLink="/workspace/estate/newsDetail" class="item"
            *ngFor="let item of news;let i=index;">
            <cp-estate-news [Title]="item.Title" [DateTime]="item.DateTime" [Description]="item.Description"></cp-estate-news>
        </div>
    </div>
    <p class="null" *ngIf="news.length===0&&!loading">
        <cp-empty></cp-empty>
    </p>
</div>